package vip.meeet;

import org.apache.zookeeper.ZooKeeper;

import java.io.IOException;

public class Executor {

    private static final String CONNET_URL = "192.168.0.224:2181,192.168.0.225:2181,192.168.0.226:2181";

    public static void main(String[] args) {
        MyWatcher watcher = new MyWatcher();
        @SuppressWarnings("unused")
        ZooKeeper zooKeeper;
        try {
            zooKeeper = new ZooKeeper(CONNET_URL, 3000, watcher);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
